<template>
  <div class="classcenter">
    <!-- <Home_header></Home_header> -->
    <Home_header :settings="config.setting" :showtop="false"></Home_header>
    <!-- <div>{{writtenBanner}}</div> -->
    <div v-for="(item,index) in writtenBanner.data" class="banners">
      <a :href="item.link">
        <img :src="item.image" alt/>
      </a>
    </div>
    <div class="nan_con">
      <p class="hold_c">笔试高考难度，你hold得住吗</p>
      <span class="borderSpan"></span>
      <p
        class="mba_con"
      >想要考取名校MBA，首先就要通过MBA联考笔试，但对于工作多年，早已放下数理化的考生来说，其备考难度可想而知，更别提取得高分了。这里，华章就为您层层揭开“MBA联考笔试”的神秘面纱。</p>
    </div>
    <div class="fen_shu">
      <div class="fen_one">
        <div class="imhj_i">
          <img class="imh1" src="../../assets/img/poenx.png" alt/>
          <img class="imh2" src="../../assets/img/poenhove.png" alt/>
        </div>
        <p class="pn_one">什么是管理类联考</p>
        <p class="pn_two">管理类联考是专门针对MBA、EMBA、MPA、MPAcc、MEM、MTA、Maud、MLIS八大管理类专硕的研究生入学考试</p>
      </div>
      <div class="fen_one">
        <div class="imhj_i">
          <img class="imh1" src="../../assets/img/bubian2.png" alt/>
          <img class="imh2" src="../../assets/img/bian2.png" alt/>
        </div>
        <p class="pn_one">MBA笔试考什么</p>
        <p class="pn_two">MBA笔试考试科目包括“综合能力”（综合能力=数学+逻辑+写作）与“英语二”两科，共计300分。</p>
      </div>
      <div class="fen_one">
        <div class="imhj_i">
          <img class="imh1" src="../../assets/img/bubian3.png" alt/>
          <img class="imh2" src="../../assets/img/bian3.png" alt/>
        </div>
        <p class="pn_one">MBA笔试难不难</p>
        <p class="pn_two">MBA实际难度 = 高考难度，但对于工作多年，且需要平衡工作、家庭及学习的MBA备考者来说，有一定难度。</p>
      </div>
    </div>
    <div class="gengduo_cc">
      <a
        class="checkMore"
        href="http://p.qiao.baidu.com/cps/chat?siteId=11408431&userId=24620165"
        target="_blank"
        id="bishi1"
      >了解更多</a>
    </div>
    <div class="nan_con">
      <p class="hold_c">我适合报考哪个学校？华章10年考学顾问为你精准匹配</p>
      <span class="borderSpan"></span>
      <div class="from_number">
        <div class="der_name">
          <input
            v-model="onename"
            type="text"
            placeholder="请输入您的姓名"
            name="name"
            class="name_two"
            value
          />
        </div>
        <div class="der_name der_phone">
          <input
            v-model="onephone"
            type="text"
            placeholder="请输入您的手机号码"
            name="mobile"
            class="mobile_two"
            value
          />
        </div>
        <div class="zixun_c">
          <button @click="freebtn(onename,onephone)">预约1对1咨询</button>
        </div>
      </div>
    </div>
    <div class="nan_con">
      <p class="hold_c">MBA笔试课程设置</p>
      <span class="borderSpan"></span>
    </div>
    <div class="borders">
      <div   class="tables">
        <table

          class="am-table am-margin-vertical-lg interview-class-table am-table-bordered"
        >
          <thead>
          <tr>
            <th class="am-text-lg">课程</th>
            <th class="am-text-lg">课程内容</th>
            <th class="am-text-lg">课程介绍</th>
          </tr>
          </thead>
          <tbody v-for="(item,index) in tables.data">
          <tr v-for="(array,index) in item.content">
            <td style="background:#c0504d;color:#fff" class="am-text-lg">{{item.name}}</td>
            <td class>{{array.content}}</td>
            <td class>{{array.description}}</td>
          </tr>
          </tbody>
        </table>
      </div>
    </div>
     <div class="nan_con">
      <p class="hold_c"> MBA 笔试辅导热门班型</p>
      <span class="borderSpan"></span>
    </div>
    <div v-for="(item,index) in pullHot.data" class="gost_img">
      <img :src="item.image" alt/>
    </div>
    <div class="nan_con">
      <p class="hold_c">挑剔老师？我们就怕你不挑剔</p>
      <span class="borderSpan"></span>
    </div>
    <!-- <div>{{experts}}</div> -->
    <div class="xue_stud">
      <div class="swiper-container swipertwo swiperstree resetSwiper">
        <div class="swiper-wrapper">
          <div v-for="(item,index) in experts.data" class="swiper-slide img_mnb">
            <img :src="item.image" alt="">
          </div>
        </div>
        <!-- Add Arrows -->
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
      <div class="swiper-container swipertwo swipersilian">
        <div class="swiper-wrapper">
          <div v-for="(item,index) in experts.data" class="swiper-slide img_mnb img_mnbbnb">
            <span class="name_s">{{item.name}}</span>
            <p>{{item.title}}</p>
            <a target="_blank" href="http://p.qiao.baidu.com/cps/chat?siteId=11408431&userId=24620165">在线试听</a>
          </div>
        </div>
      </div>
    </div>
    <div class="boos_v">
      <div class="nan_con">
        <p class="hold_c">华章学霸分享</p>
        <span class="borderSpan"></span>
        <div class="MBA_by">
          <div v-for="(item,index) in tips.data" class="by_con">
            <div class="xiao_con">
              <span>{{item.name}}</span>
              <!-- <span>2018届中大管院MBA状元</span> -->
              <img :src="item.image" alt/>
            </div>
            <p class="ti_hui">{{item.description}}</p>
            <div class="xinde_c">
              <div>
                <img src="../../assets/img/heart-logoss.jpg" alt/>
              </div>
              <nuxt-link
                :to="{path:'newsdetail',query:{id:item.id,anchor:'备考心得',detailpath:'studentdetail',apipath:'students'}}"
              >看备考心得
              </nuxt-link>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- <div>{{teacherCourse}}</div> -->
    <div class="klj_c">
      <div class="nan_con">
        <p class="hold_c">名师公开课</p>
        <span class="borderSpan"></span>
      </div>
      <div class="shu_baon">
        <div v-for="(item,index) in teacherCourse.data" class="schedule">
          <div class="sch_left">
            <div class="time_span">
              <span>{{item.week}}</span>
              <span>{{item.date}}</span>
            </div>
            <div class="mianfei">
              <p>{{item.name}}</p>
              <p v-html="item.content"></p>
            </div>
          </div>
          <div>
            <button
              @click="tan_nm(item.id)"
              class="checkMore checkMorex"
              style="background: #d30808;color: white;"
            >免费预约
            </button>
          </div>
        </div>
        <div v-if="Popup" class="tan_con">
          <span @click="guan_mn">x</span>
          <p>我要预约</p>
          <div class="ti_con">
            <div class="biao_c">
              <input v-model="twoname" type="text" name="name" placeholder="姓名："/>
            </div>
            <div class="biao_c">
              <input v-model="twophone" type="tel" name="mobile" placeholder="手机号："/>
            </div>
            <div class="ti_cons">
              <button @click="freebtn(twoname,twophone,activeid)">点击提交</button>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="secbox secw7 turoring">
      <div class="w-top">
        <p class="tithd">
          <strong>华章动态</strong> | 19年，您的MBA备考管家！
        </p>
        <nuxt-link
          :to="{path:'newslist',query:{cate_id:28,anchor:'热点资讯',apipath:'articles',detailpath:'articledetail'}}"
          class="morehd"
        >更多 &gt;&gt;
        </nuxt-link>
      </div>
      <div class="scrollx rescrollx">
        <div
          @mouseenter="donwplay"
          @mouseleave="leavemouse"
          class="huazhang_slide swiper-container"
          v-swiper:mySwiper2="silde_swiperOption"
        >
          <div class="swiper-wrapper swiper-no-swiping">
            <div class="swiper-slide siperdong" v-for="(item,index) in albums.data">
              <img :src="item.image" alt/>
              <p class="zhe_p">{{item.name}}</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="more">
      <div class="more_con">
        <p>更多内容</p>
      </div>
      <div class="more_vnm">
        <div class="swiper-container swipertwo" v-swiper:mySwipersi="swipersi">
          <div class="swiper-wrapper">
            <div v-for="(item,index) in moreBanner.data" class="swiper-slide img_mnbs">
              <a id="box_bao" target="_blank" :href="item.link">
                <img :src="item.image" alt/>
              </a>
            </div>
          </div>
          <!-- Add Arrows -->
          <div class="swiper-button-next"></div>
          <div class="swiper-button-prev"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
    import Swiper from 'swiper';
    import Home_header from "../../components/Home-header";

    export default {
        name: "classcenter",
        components: {
            Home_header
        },
        async asyncData({app}) {
            //更多类型
            let config = await app.$apiconfig();
            let moreBanner = await app.$apiGet("banners", {cate_id: 1});
            //华章动态
            let dynamic = await app.$apiGet("albumcategories");
            let albums = await app.$apiGet("albums", {cate_id: 1});
            //名师公开课
            let teacherCourse = await app.$apiGet("freecourses", {limit: 3});
            //学霸分享
            let tips = await app.$apiGet("students");
            //MBA复试课程表格
            let tables = await app.$apiGet("mbacourses",{location:1});
            //笔试banner
            let writtenBanner = await app.$apiGet("banners", {cate_id: 15});
            //专家列表
            let experts = await app.$apiGet('experts', {location: 2})
            return {
                experts,
                tables,
                config,
                writtenBanner: writtenBanner,
                tips: tips,
                teacherCourse: teacherCourse,
                albums: albums,
                dynamic: dynamic,
                moreBanner: moreBanner
            };
        },
        data() {
            return {
                activeid: "",
                twoname: "",
                twophone: "",
                onename: "",
                onephone: "",
                Popup: false,
                bannerHot: "",
                pullHot: "",
                Swiper: '',
                swiperstree: '',
                swipersilian: '',
                // swipersilian: {
                //   slidesPerView: 1,
                //   spaceBetween: 0,
                //   slidesPerGroup: 1,
                //   loop: true,
                //   loopFillGroupWithBlank: true,
                //   pagination: {
                //     el: ".swiper-pagination",
                //     clickable: true
                //   }
                // },
                //     swiperstree: {
                //       slidesPerView: 5,
                //       spaceBetween: 0,
                //       slidesPerGroup: 1,
                //       loop: true,
                //       loopFillGroupWithBlank: true,
                //       pagination: {
                //         el: ".swiper-pagination",
                //         clickable: true
                //       },
                //       navigation: {
                //         nextEl: ".swiper-button-next",
                //         prevEl: ".swiper-button-prev"
                //       },
                //        controller: {
                //   control: {},
                // }
                //     },
                swipersi: {
                    slidesPerView: 1,
                    spaceBetween: 0,
                    slidesPerGroup: 1,
                    loop: true,
                    loopFillGroupWithBlank: true,
                    pagination: {
                        el: ".swiper-pagination",
                        clickable: true
                    },
                    navigation: {
                        nextEl: ".swiper-button-next",
                        prevEl: ".swiper-button-prev"
                    }
                },
                silde_swiperOption: {
                    speed: 5500, //匀速时间
                    autoplay: {
                        delay: 0,
                        stopOnLastSlide: true,
                        disableOnInteraction: false
                    },
                    loop: true, //自动轮播
                    freeMode: true,
                    slidesPerView: 4,
                    spaceBetween: 10,
                    autoplayDisableOnInteraction: true,
                    noSwiping: true,
                    preventLinksPropagation: false // 阻止点击事件冒泡
                }
            };
        },
        mounted(){
            console.log(this);
            this.$nextTick(()=>{
                this.moveSwiper();
                this.swipersilian.update()
            })
        },
        created() {
            this.$apiGet("bannercategories").then(res => {
                this.bannerHot = res;
            });
            this.$apiGet("banners", {cate_id: 16}).then(res => {
                this.pullHot = res;
            });

        },
        head() {
            return this.config.header;
        },
        methods: {
            moveSwiper() {
                var that = this;
                that.swipersilian = new Swiper('.swipersilian', {
                    slidesPerView: 1,
                    loop: true,
                    loopFillGroupWithBlank: true,
                    pagination: {
                        el: ".swiper-pagination",
                        clickable: true
                    }
                });
                that.swiperstree = new Swiper('.swiperstree', {
                    // initialSlide :3,
                    slidesPerView: 5,
                    spaceBetween: 0,
                    slidesPerGroup: 1,
                    loop: true,
                    loopFillGroupWithBlank: true,
                    pagination: {
                        el: ".swiper-pagination",
                        clickable: true
                    },
                    navigation: {
                        nextEl: ".swiper-button-next",
                        prevEl: ".swiper-button-prev"
                    },
                    thumbs: {
                        swiper: that.swipersilian
                    }
                });
            },
            freebtn(n, p, c) {
                if (!n) {
                    this.$message.error("请输入姓名");
                    return false;
                }
                if (!/^1[3456789]\d{9}$/.test(p)) {
                    this.$message.error("请输入正确的手机号码");
                    return false;
                }
                this.$apiPost("addsignlog", {
                    type_id: 2,
                    name: n,
                    phone: p,
                    activity_id: c
                }).then(res => {
                    this.guan_mn();
                    console.log(res);
                    if (res.code == 1) {
                        this.$message.success("提交成功");
                    } else {
                        this.$message.error(res.msg);
                    }
                });
            },
            tan_nm(e) {
                this.activeid = e;
                if (this.Popup == false) {
                    this.Popup = true;
                }
            },
            guan_mn() {
                if (this.Popup == true) {
                    this.Popup = false;
                }
            },
            donwplay() {
                this.mySwiper2.autoplay.stop();
            },
            leavemouse() {
                this.mySwiper2.autoplay.start();
            }
        }
    };
</script>

<style scoped>
  .img_mnbbnb a {
    display: block;
    padding: 0;
    width: 140px;
    height: 2pc;
    border: 0;
    border-radius: 5px;
    background-color: #434c6f;
    color: #fff;
    text-align: center;
    line-height: 2pc;
  }

  .img_mnbbnb p {
    width: 720px;
    font-size: 16px;
    color: rgba(51, 51, 51, 1);
    margin-left: 10px;
    margin-right: 10px;
  }

  .img_mnbbnb {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    padding: 10px;
    box-sizing: border-box;
  }

  .name_s {
    font-size: 24px;
    font-weight: 600;
  }

  .swipersilian {
    margin-top: 40px;
  }

  .swipersilian .img_mnb {
    justify-content: end;
    padding: 5px 100px 5px 70px;
  }

  .ti_cons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ti_cons button {
    color: #fff;
    padding: 5px 10px;
    margin: auto;
    background-color: rgb(67, 76, 111);
  }

  .biao_c {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .ti_con input {
    margin: auto;
    width: 82%;
    height: 36px;
    border: 1px solid rgb(214, 214, 214);
    font-size: 14px;
    padding-left: 10px;
    box-sizing: border-box;
  }

  .ti_con {
    width: 100%;
    height: 100%;
  }

  .tan_con span {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 17px;
  }

  .tan_con p {
    font-size: 18px;
    color: #333;
    text-align: center;
    padding: 15px 10px 5px 10px;
  }

  .shu_baon {
    position: relative;
  }

  .tan_con {
    position: relative;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -130px;
    margin-left: -250px;
    width: 500px;
    height: 260px;
    background: pink;
    background: #f8f8f8;
    cursor: pointer;
  }

  .zhe_p {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
  }

  .siperdong img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .siperdong {
    height: 130px;
  }

  .turoring {
    margin: auto;
    padding: 20px !important;
    height: auto;
  }

  .more_vnm .swipertwo {
    height:auto!important;
    justify-content: center;
    align-items: center;
  }

  #box_bao img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #box_bao {
    width: 100%;
    height: 100%;
    display: inline-block;
  }

  .swipertwos {
    height: auto;
    padding-bottom: 10px;
    border-bottom: 1px dashed #d5d5d5;
  }

  .more {
    width: 1200px;
    margin: auto;
  }

  .img_mnbs img {
    width: 100%;
  }

  .img_mnbs {
    padding: 5px;
    box-sizing: border-box;
  }

  .more_vnm {
    width: 1200px;
    margin: auto;
    margin-bottom: 25px;
  }

  .more_con p {
    font-size: 18px;
    margin-top: 30px;
  }

  .sqtips {
    margin: 0px auto;
    width: 90pt;
    background-color: #c00000;
    color: #fff;
    line-height: 28px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
  }

  .activity_con p {
    color: #000;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    margin: 15px 0px;
  }

  .tome_v {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .activity_con {
    width: 351px;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .activity {
    width: 1200px;
    margin: auto;
    display: flex;
    margin-top: 32px;
    justify-content: space-between;
  }

  .lian_kao {
    margin: 32px 0px;
  }

  .lian_kao {
    width: 100%;
    height: 318px;
    background: url(../../assets/img/back20.png) center no-repeat;
    background-size: cover;
  }

  .klj_c {
    margin-bottom: 32px;
  }

  .schedule:hover {
    background: #f8f8f8;
  }

  button {
    outline: none;
  }

  .checkMorex {
    width: 90px;
    color: #fff;
    line-height: 28px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mianfei {
    padding-left: 25px;
  }

  .mianfei p {
    color: #333;
    font-size: 16px;
  }

  .sch_left {
    display: flex;
    align-items: center;
  }

  .time_span {
    width: 58px;
    height: 57px;
    background: url(../../assets/img/resdd.png) center no-repeat;
    background-size: cover;
  }

  .time_span span:last-child {
    font-size: 20px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
  }

  .time_span span:first-child {
    height: 24px;
    color: #fff;
    text-transform: uppercase;
    display: block;
    text-align: center;
    font-size: 16px;
  }

  .schedule {
    width: 1200px;
    height: 90px;
    padding: 16px 24px;
    box-sizing: border-box;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .teachers {
    width: 1200px;
    margin: auto;
  }

  .xinde_c a {
    font-size: 14px;
    display: block;
    color: white;
    border-radius: 5px;
    padding: 2px 12px;
    border: 1px solid #000;
    float: right;
    background: #434c6f;
  }

  .xinde_c {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
  }

  .ti_hui {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 14px;
    height: 84px;
    color: #888;
    overflow: auto;
    white-space: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .xiao_con img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
  }

  .xiao_con span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
  }

  .xiao_con {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .by_con {
    width: 314px;
    height: auto;
  }

  .MBA_by {
    width: 1200px;
    height: 380px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    box-sizing: border-box;
  }

  .boos_v {
    width: 100%;
    width: 100%;
    height: 470px;
    background: url(../../assets/img/back19.png) center no-repeat;
    background-size: cover;
    padding-top: 32px;
    padding-bottom: 32px;
    box-sizing: border-box;
  }

  .xue_stud {
    width: 1200px;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 100px;
  }

  .gost_img {
    width: 1200px;
    margin: auto;
    margin-top:25px!important;
  }

  /* /表格/ */
  .img_mnb img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    background: #f2f2f2;
  }

  .img_mnb {

    margin: auto;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-content: center;
  }

  .more_vnm {
    width: 1200px;
    margin: auto;
    margin-bottom: 25px;
  }

  .more_con p {
    font-size: 18px;
    margin-top: 30px;
  }

  .swipertwo {
    height: auto;
    padding-bottom: 10px;
  }

  .nei_con p {
    font-size: 16px;
  }

  .nei_con:hover p {
    color: #fff;
  }

  .nei_con:hover {
    background: #c00000;
  }

  .nei_con {
    width: 250px;
    background: #fff;
    height: 270px;
    margin-top: -65px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .swipersx {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .boy_left img {
    width: 100%;
    z-index: 99;
  }

  .boy_left {
    width: 145px;
    margin: auto;
    margin: 0px;
    z-index: 99;
  }

  .appointment a {
    width: 150px;
    margin: 0 auto;
    background-color: #c00000;
    border: none;
    color: white;
    text-align: center;
    border-radius: 5px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    margin-bottom: 40px;
  }

  .appointment {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .squad_one a span {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    line-height: 22.4px;
    color: rgb(51, 51, 51);
  }

  .squad_one a p {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
  }

  .squad_one a {
    display: inline-block;
  }

  .bfa_bao img {
    width: 100%;
  }

  .bfa_bao {
    width: 150px;
    height: auto;
    margin: auto;
  }

  .squad_one {
    width: 272px;
    height: auto;
    margin-top: 25px;
  }

  .squad_con {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
  }

  .squad h2 {
    font-size: 42px;
    text-align: center;
    color: #000;
    margin-top: 50px;
  }

  .squad {
    width: 1200px;
    margin: auto;
  }

  .gost_img {
    margin-top: 25px;
  }

  .gost_img img {
    width: 100%;
  }

  .gost_img {
    width: 1200px;
    margin: auto;
    margin-bottom: 50px;
  }

  .gost_c {
    width: 1200px;
    margin: auto;
  }

  .gost_c h2 {
    font-size: 42px;
    text-align: center;
    color: #000;
    margin-top: 50px;
  }

  td {
    background: #f2dcdb;
  }

  .tables {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .am-table-bordered {
    border: 1px solid #ddd;
    border-left: none;
  }

  .am-table {
    width: 100%;
    border-spacing: 0;
    margin-bottom: 40px;
  }

  table {
    max-width: 100%;
    background-color: transparent;
    empty-cells: show;
  }

  .interview-class-table thead {
    background-color: #c00000;
    color: white;
  }

  .interview-class-table thead tr th {
    padding: 1.5rem;
    text-align: center;
    border: 2px solid #fff;
  }

  table > thead > tr > th {
    line-height: 1.6;
  }

  .am-table-bordered > thead + tbody > tr:first-child > td,
  .am-table-bordered > thead + tbody > tr:first-child > th {
    border-top: 1px solid #ddd;
    width: 30%;
  }

  .interview-class-table tbody tr td {
    vertical-align: middle;
    text-align: center;
    border: 2px solid #fff;
  }

  .am-table > tbody > tr > td,
  .am-table > tbody > tr > th,
  .am-table > tfoot > tr > td,
  .am-table > tfoot > tr > th,
  .am-table > thead > tr > td,
  .am-table > thead > tr > th {
    padding: 0.7rem;
    line-height: 1.6;
  }

  td,
  th {
    font-size: 16px;
  }

  .tables {
    width: 1200px;
    height: auto;
  }

  /* // */
  .borders {
    width: 1200px;
    height: auto;
    margin: auto;
  }

  .zixun_c button {
    width: 100%;
    display: inline-block;
    font-size: 18px;
    color: white;
    background: #434c6f;
    text-align: center;
    border-radius: 5px;
    line-height: 3.5pc;
    cursor: pointer;
  }

  .zixun_c {
    width: 128px;
    height: auto;
  }

  .der_phone input {
    padding-left: 69px;
    box-sizing: border-box;
  }

  .der_phone {
    width: 353px !important;
  }

  input {
    outline: none;
  }

  .der_name input {
    width: 100%;
    height: 100%;
    border: 1px solid rgb(51, 51, 51);
    font-size: 23px;
    color: #333;
    padding-left: 43px;
    box-sizing: border-box;
    border-radius: 5px;
  }

  .der_name {
    width: 300px;
    height: 56px;
  }

  .from_number {
    width: 100%;
    margin-top: 65px;
    display: flex;
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 82px;
  }

  .gengduo_cc {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
  }

  #bishi1 {
    margin: 20px auto 0;
    width: 180px;
    height: 2pc;
    background-color: #434c6f;
    color: #fff;
    font-size: 18px;
    line-height: 2pc;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    align-items: center;
  }

  .imhj_p img {
    display: none;
  }

  .imhj_i {
    width: 45%;
    margin: auto;
    height: 155px;
  }

  .pn_two {
    width: 80%;
    margin: auto;
    font-size: 14px;
    text-align: center;
  }

  .pn_one {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 15px auto 5px;
    text-align: center;
  }

  .imh2 {
    display: none;
  }

  .fen_one:hover .imhj_i .imh2 {
    display: block;
  }

  .fen_one:hover .imhj_i .imh1 {
    display: none;
  }

  .fen_one {
    width: 350px;
    height: auto;
  }

  .fen_shu {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    margin: auto;
  }

  .nan_con {
    width: 1200px;
    margin: auto;
  }

  .mba_con {
    font-size: 14px;
    text-align: center;
    margin: 20px auto;
    width: 85%;
    line-height: 24px;
  }

  .borderSpan {
    display: block;
    margin: 0 auto;
    width: 95pt;
    margin-top: 15px;
    border-bottom: 3px solid #c00000;
  }

  .nan_con {
    margin-top: 23px;
  }

  .nan_con .hold_c {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
  }

  .banners img {
    width: 100%;
  }

  .banners {
    width: 100%;
    height: auto;
  }

  .ling_right ul li a:hover {
    color: #01752e;
    transition: color 500ms ease-in-out;
  }

  .phomne {
    margin-right: 12px;
  }

  .ling_right ul li {
    margin-right: 23px;
    font-size: 16px;
  }

  .ling_right ul li a {
    display: flex;
    align-items: center;
    transition: color 500ms ease-in-out;
  }

  .ling_right ul {
    align-items: center;
    display: flex;
  }

  .counseling_top {
    width: 1200px;
    height: 80px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  * {
    padding: 0px;
    margin: 0px;
  }

  @media (max-width: 1250px) {
    .nan_con {
      width: 90%;
    }

    .fen_shu {
      height: auto;
      width: 90%;
    }

    .imhj_i {
      height: auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .fen_one {
      width: 240px;
    }

    .imhj_i img {
      width: 100%;
    }

    .gengduo_cc {
      width: 90%;
    }

    .borders {
      width: 90%;
    }

    .tables {
      width: 100%;
    }

    .gost_img {
      width: 90%;
    }

    .xue_stud {
      width: 90%;
    }

    .nan_con {
      width: 90%;
    }

    .MBA_by {
      width: 100%;
    }

    .by_con {
      width: 30%;
    }

    .nan_con {
      width: 90%;
    }

    .schedule {
      width: 90%;
    }

    .secbox {
      width: 90%;
    }

    .secw7 .w-top {
      box-sizing: border-box;
      width: 100%;
    }

    .scrollx {
      width: 100%;
    }

    .more {
      width: 90%;
    }

    .more_vnm {
      width: 100%;
    }
  }

  @media (max-width: 1000px) {
    .der_name {
      width: auto;
    }

    .der_name input {
      font-size: 15px;
    }

    .der_phone {
      width: auto !important;
    }

    .der_name input {
      padding-left: 10px;
    }

    .img_mnb img {
      width: 100px;
    }

    .MBA_by {
      height: auto;
    }

    .xinde_c {
      display: flex;
      flex-direction: column;
      justify-content: end;
    }

    .xinde_c {
      margin-top: 10px;
    }
  }

  @media (max-width: 750px) {
    .by_con {
      width: 80%;
      margin: 20px auto;
    }
    .MBA_by{
      flex-direction: column;
    }
    .boos_v{
      height: auto!important;
    }
    .der_name input{
      width: 80%;
      display: block;
      margin: auto;
      height: 40px;
    }
    .pn_one {
      font-size: 14px;
    }

    .pn_two {
      overflow: auto;
      white-space: inherit;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
    }

    .mba_con {
      font-size: 12px;
    }

    .nan_con .hold_c {
      font-size: 18px;
    }

    #bishi1 {
      padding: 10px;
      width: auto;
      font-size: 14px;
      box-sizing: border-box;
    }

    .from_number {
      margin-top: 20px;
      margin-bottom: 20px;
    }

    .from_number {
      flex-direction: column;
    }

    .der_name {
      width: auto;
      height: auto;
      padding: 10px 0px;
    }

    .der_name input {
      padding: 0 15px;
    }

    .der_name {
      width: 90% !important;
    }

    .zixun_c a {
      box-sizing: border-box;
    }

    .zixun_c {
      width: 90%;
    }

    .img_mnb img {
      width: 50px;
    }

    .swiper-button-prev {
      background-size: 13px;
      margin-top: -22px !important;
    }

    .swiper-button-next {
      background-size: 13px;
      margin-top: -22px !important;
    }

    .zixun_c a {
      padding: 5px;
      line-height: 24px;
      font-size: 14px;
    }

    .xue_stud {
      margin-bottom: 10px;
    }

    .xiao_con span {
      order: 1;
    }

    .xiao_con {
      flex-direction: column;
    }

    .xiao_con span {
      height: 36px;
      width: 100%;
      display: inline-block;
      text-align: center;
      font-size: 12px;
      overflow: auto;
      white-space: inherit;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .xinde_c a {
      padding: 5px 5px;
      font-size: 12px;
      margin-top: 10px;
    }

    .schedule {
      padding: 0px;
    }

    .mianfei p {
      width: 150px;
      overflow: auto;
      white-space: inherit;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .secbox {
      padding: 0px !important;
    }

    .tithd {
      font-size: 13px;
    }

    td,
    th {
      font-size: 13px;
    }
    .zixun_c button {
      width: 80%;
      display: block;
      font-size: 16px;
      padding: 10px;
      color: white;
      background: #434c6f;
      text-align: center;
      border-radius: 5px;
      line-height: inherit;
      cursor: pointer;
      margin: auto;
    }
    .img_mnb img {
      height: 50px;
    }
    .swipersilian .img_mnb {
      padding:5px;
    }
    .img_mnbbnb p {
      width:auto;
    }
    .name_s {
      font-size:19px;
    }
    .ti_hui {
      margin-top:0px;
    }
    .mianfei p {
      width:100px;
    }
    .sch_left {
      width:60%;
    }
    .tan_con {
      width:90%;
      margin-left:-45%;
    }
  }
/*2020 0526 */
  .resetSwiper .swiper-button-prev, .swiper-container-rtl .swiper-button-next{
    left: 0!important;
  }

  .resetSwiper .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 0px!important;
    left: auto;
  }

  .resetSwiper .swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 40% !important;
    width: 27px!important;
    height: 44px!important;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .rescrollx{
    height: auto!important;
  }
</style>
